package cn.itsource;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : caiwen
 * @description：
 * @date : 2023/5/17
 */
@RestController
public class LoginController {


    @GetMapping("/login")
    public String login(String myEmail, String myPwd) {
        System.out.println("接收到的参数值是：myemail=" + myEmail + ",mypwd=" + myPwd);
        return "恭喜你，登录成功";
    }
}
